package com.xiong.wuliao.HomeGame;

import org.cocos2d.nodes.CCSprite;

public class Bullet extends CCSprite {
	private int attack;// 攻击值
	private float speed;// 速度

	// 初始化子弹，根据传过来的图片地址动态的设置子弹图片
	public Bullet(String filePath) {
		super(filePath);
	}

	public int getAttack() {
		return attack;
	}

	public void setAttack(int attack) {
		this.attack = attack;
	}

	public float getSpeed() {
		return speed;
	}

	public void setSpeed(float speed) {
		this.speed = speed;
	}

}
